package com.ruoyi.project.pm.progressinquiry.service;

import com.ruoyi.project.pm.progressinquiry.domain.PMPI;
import com.ruoyi.project.pm.progressinquiry.mapper.PMPIMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 铁蛋儿
 * @date 2020-09-20 22:33
 * @desc 百战程序员 http://www.itbaizhan.com
 *
 * 项目任务进度查询 服务器接口实现类
 *
 */
@Service
public class PMPIServiceImpl implements PMPIService {

    //注入mapper层对象
    @Autowired
    PMPIMapper pmpiMapper;

    /**
     * 按条件查询数据库数据
     *
     * @param pmpi 条件
     * @return
     */
    @Override
    public List<PMPI> selectPMPIList(PMPI pmpi) {
        return pmpiMapper.selectPMPIList(pmpi);
    }
}
